package cn.danger.com.util;

/**
 * Created by 俊 on 2016/12/27.
 */
public interface Constants {

    int LOCAL = 1;
    int NETWORK = 2;
    int NOT_LOGIN = 3;
    String IS_RIGHT = "正确";
    String PHONE_IS_EMPTY = "手机号不能为空";
    String CHECK_CODE_IS_EMPTY = "验证码不能为空";
    String EMAIL_IS_EMPTY = "邮箱不能为空";
    String PASSWORD_IS_EMPTY = "密码不能为空";
    String CONFIRM_PASSWORD_IS_EMPTY = "确认密码不能为空";
    String PHONE_IS_ILLEGAL = "手机号格式不正确";
    String CHECK_CODE_IS_WRONG = "验证码错误";
    String EMAIL_IS_ILLEGAL = "邮箱格式不正确";
    String PASSWORD_IS_NO_LESS_THAN_SIX = "密码长度不能少于6位";
    String CONFIRM_PASSWORD_IS_WRONG = "前后两次输入的密码不一致";
    String NETWORK_IS_NOT_AVAILABLE = "无网络连接，请检查您的手机网络.";
    String FAIL_TO_SEND_CHECK = "验证码发送失败";
    String SUCCESS_TO_SEND_CHECK_CODE = "验证码发送成功";
    String FAIL_TO_REGISTER = "注册失败";
    String SUCCESS_TO_REGISTER = "注册成功";
    String FAIL_TO_SAVE_USER_INFO = "本地存储用户信息失败";
    String FAIL_TO_LOGIN = "登录失败";
    String SUCCESS_TO_LOGIN = "登录成功";
    String SUCCESS_TO_RESET_PASSWORD = "重置密码成功";
    String FAIL_TO_RESET_PASSWORD = "重置密码失败";
    String APP_KEY_IS_NULL = "Application Id为空，请初始化";
    String PARSE_DATA_ERROR = "解析返回数据出错";
    String UPLOAD_FILE_ERROR = "上传文件出错";
    String UPLOAD_FILE_FAILURE = "上传文件失败";
    String BATCH_OPERATION = "批量操作只支持最多50条";
    String OBJECT_ID_IS_NULL = "objectId为空";
    String FILE_MUST_BE_LESS_THAN_10M = "文件大小超过10M";
    String FILE_NOT_EXIST = "上传文件不存在";
    String NO_CACHE_DATA = "没有缓存数据";
    String TIME_OUT = "网络超时";
    String BMOB_USER_DOES_NOT_SUPPORT_BATCH_OPERATION = "BmobUser类不支持批量操作";
    String CONTEXT_IS_NULL = "上下文为空";
    String DATABASE_NAME_FORMAT_IS_NOT_CORRECT = "BmobObject（数据表名称）格式不正确";
    String AUTHORIZATION_IS_FAILURE = "第三方账号授权失败";
    String THIRD_LOGIN_ERROR = "第三方登录出现错误";
    String PARAMETER_IS_NULL = "参数不能为空";
    String FORMAT_IS_NOT_CORRECT = "格式不正确";
    String USERNAME_OR_PASSWORD_IS_WRONG = "用户名或密码错误";
    String EMAIL_ADDRESS_IS_VAILD = "无效的邮箱地址";
    String PHOTO_IS_EMPTY = "照片为空";
    String SUCCESS_TO_UPDATE_PHOTO = "更新头像成功";
    String FAIL_TO_UPDATE_PHOTO = "更新头像失败";
    String LOGIN_IS_VALID = "登录失效，需重新登录";
    String SUCCESS_TO_AUTO_LOGIN = "自动登录成功";
    String FAIL_TO_AUTO_LOGIN = "自动登录失败";
    String SUCCESS_TO_UPDATE_NICK_NAME = "修改昵称成功";
    String FAIL_TO_UPDATE_NICK_NAME = "修改昵称失败";
    String SUCCESS_TO_UPDATE_EMAIL = "修改邮箱成功";
    String FAIL_TO_UPDATE_EMAIL = "修改邮箱失败";
    String NICK_NAME_IS_EMPTY = "昵称不能为空";
    String NICK_NAME_IS_USING = "该昵称正在使用";
    String EMAIL_IS_BIND = "该邮箱已绑定";
    String PHONE_IS_USING = "该手机号码已绑定";
    String ORIGIN_PASSWORD_IS_EMPTY = "原密码不能为空";
    String NEW_PASSWORD_IS_EMPTY = "新密码不能为空";
    String NEW_PASSWORD_IS_NO_LESS_THAN_SIX = "新密码不能少于6位";
    String SUCCESS_TO_UPDATE_PASSWORD = "修改密码成功";
    String FAIL_TO_UPDATE_PASSWORD = "修改密码失败";
    String SUCCESS_TO_LOGOUT = "退出登录成功";
    String ORIGIN_PASSWORD_IS_WRONG = "旧密码错误";
    String USERNAME_IS_EXIST = "该用户已存在";
    String EMAIL_IS_EXIST = "该邮箱已经存在";
    String PHONE_IS_EXIST = "该手机号码已存在";
    String ONLY_LOGIN_USER_CAN_MODIFY = "只有登录用户才能修改自己的信息。RestAPI的Http Header中没有提供sessionToken的正确值，不能修改或删除用户";
    String MESSAEG_IS_LIMIT = "该手机号发送短信达到限制(对于一个应用来说，一天给同一手机号发送短信不能超过10条，一小时给同一手机号发送短信不能超过5条，一分钟给同一手机号发送短信不能超过1条)";
    String LOGIN_DATA_IS_NULL = "登录信息为空";
    String SUCCESS_TO_BIND_PHONE = "手机绑定成功";
    String FAIL_TO_BIND_PHONE = "手机绑定失败";
    String SUCCESS_TO_ADD_MEMO = "添加备忘录成功";
    String FAIL_TO_ADD_MEMO = "添加备忘录失败";
    String TITLE_IS_EMPTY = "标题不能为空";
    String CONTENT_IS_EMPTY = "内容不能为空";
    String SUCCESS_TO_DELETE_MEMO = "删除备忘录成功";
    String FAIL_TO_DELETE_MEMO = "删除备忘录失败";
    String SUCCESS_TO_UPDATE_MEMO = "更新备忘录成功";
    String FAIL_TO_UPDATE_MEMO = "更新备忘录失败";
    String YOU_ARE_IN_LOCAL_MODEL = "本地模式开启";
    String YOU_ARE_IN_NETWORK_MODEL = "联网模式开启";
    String SUCCESS_TO_SAVE_LOCAL = "目前为本地模式，保存成功";
    String FAIL_TO_SAVE_LOCAL = "目前为本地模式，保存失败";
    String SUCCESS_TO_UPDATE_LOCAL = "目前为本地模式，更新成功";
    String FAIL_TO_UPDATE_LOCAL = "目前为本地模式，更新成功";
    String FAIL_TO_DELETE_LOCAL = "目前为本地模式，删除失败";
    String SUCCESS_TO_DELETE_LOCAL = "目前为本地模式，删除成功";
    String PLEASE_LOGIN = "请先登录";
    String SUCCESS_TO_SYNCHRONOUS_MEMO = "同步备忘录成功";
    String PLEASE_CHOOSE_ITEM_TO_DELETE = "请选择要删除的数据";
    String SCHEDULE_CONTENT_IS_EMPTY = "提醒内容不能为空";
    String FAIL_TO_ADD_SCHEDULE = "添加日程失败";
    String SUCCESS_TO_ADD_SCHEDULE = "添加日程成功";
    String FAIL_TO_DELETE_SCHEDULE = "删除日程失败";
    String SUCCESS_TO_DELETE_SCHEDULE = "删除日程成功";
    String SUCCESS_TO_SYNCHRONOUS_SCHEDULE = "同步日程成功";
    String SUCCESS_TO_UPDATE_SCHEDULE = "更新日程成功";
    String FAIL_TO_UPDATE_SCHEDULE = "更新日程失败";
    String FAIL_TO_GET_MEMO_FROM_SERVER = "同步备忘录数据失败";
    String SUCCESS_TO_GET_MEMO_FROM_SERVER = "同步备忘录数据成功";
    String FAIL_TO_GET_SCHEDULE_FROM_SERVER = "同步日程数据失败";
    String SUCCESS_TO_GET_SCHEDULE_FROM_SERVER = "同步日程数据成功";
    String SUCCESS_TO_GET_USERDATA_FROM_SERVER = "从服务器获取用户数据成功";

}